Skip to content

chore: replace FormControl with PhoneInput component for phone field - #290

Merged
harshtandiya merged 1 commit into
mainfrom
backport-287-to-main
Jul 26, 2026
Merged

chore: replace FormControl with PhoneInput component for phone field#290
harshtandiya merged 1 commit into
mainfrom
backport-287-to-main

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated backport of #287 to main.

…287)

* fix: use PhoneInput on Edit Proposal dialog

Swap the plain FormControl (type=tel) phone field in ProposalEditDialog.vue
for the shared PhoneInput component so the dial code and number are edited
separately and saved in Frappe's canonical {isd}-{number} format.

This fixes values being saved without the isd- prefix (which render blank
in Desk's Phone field, same class of bug as #244) and prevents casual edits
of existing hyphen-formatted values from corrupting the format.

Fixes #275

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FZ7AVqnfjnXPQbHQd3RVkK

* fix: phone input style

---------

Co-authored-by: Claude <noreply@anthropic.com>
(cherry picked from commit 40757c1)
@harshtandiya harshtandiya changed the title [Backport main] chore: replace FormControl with PhoneInput component for phone field chore: replace FormControl with PhoneInput component for phone field Jul 26, 2026
@harshtandiya harshtandiya added the backport This PR / Issue is a backport for a branch other than develop label Jul 26, 2026
@harshtandiya
harshtandiya added this pull request to the merge queue Jul 26, 2026
Merged via the queue into main with commit 6952b5a Jul 26, 2026
9 checks passed
@harshtandiya
harshtandiya deleted the backport-287-to-main branch July 26, 2026 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR / Issue is a backport for a branch other than develop

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant